//
//  MemberViewController.m
//  Cat
//
//  Created by lushitong on 2018/12/1.
//  Copyright © 2018年 lushitong. All rights reserved.
//

#import "MemberViewController.h"
#import "MemberTableView.h"
#import "HttpUserManager.h"

@interface MemberViewController ()

@property (nonatomic, strong) MemberTableView *tableView;

@end

@implementation MemberViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	[self loadAllSubviews];
	self.topTitleView.backgroundColor = [UIColor clearColor];
	self.topTitleView.bottomLineView.backgroundColor  = [UIColor clearColor];
	[self.topTitleView setDetailDic:@{Nav_Title:@"我的会员"}.mutableCopy];
	[self.view bringSubviewToFront:self.topTitleView];
}

- (void)loadAllSubviews {
	[self.view addSubview:self.tableView];
}

#pragma mark----- lazy init -----

- (MemberTableView *)tableView {
	if (!_tableView) {
		_tableView = [[MemberTableView alloc] initWithFrame:CGRectMake(0.0, 0.0, self.view.width, self.view.height + StatusBarHeight) sections:2];
	}
	return _tableView;
}


@end
